//==============================================================================
// swordsman hero_anim.txt
// Fixed the heavenlight, hero glow, soul aurora born and soulborn ~WarriorMario
// This unit has the Murmillo helmet, the scutum (tower) shield, and the straight sword.
//==============================================================================

import Pilum_Defines_anim.txt

//==============================================================================
define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}

//==============================================================================
define soul
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul
      }
   }
}

//==============================================================================
define soulborn
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero SoulBorn
      }
   }
}

//==============================================================================
define soulaurora
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Aurora
      }
   }
}

//==============================================================================
define soulauroraborn
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul AuroraBorn
      }
   }
}

//==============================================================================
define heavenlight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Heaven Light
      }
   }
}

//==============================================================================
define soulbirth
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Birth
      }
   }
}

//==============================================================================
define Head
{
   set hotspot
   {
      version
      {
         Visual Infantry x Murmillo Head
		 ReplaceTexture Infantry X Swordsman Iron/Infantry X Swordsman Hero
      }
   }
}

//==============================================================================
define Sword
{
	SetSelector
	{
		TechLogic none/Copper Weapons/Bronze Weapons/Iron Weapons
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Standard
				connect Fire Flame hotspot
			}
		}			
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Copper
				connect Fire Flame hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Bronze
				connect Fire Flame hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Iron
				connect Fire Flame hotspot
			}
		}
	}	  
}

//==============================================================================
define shark
{
	SetSelector
	{
		TechLogic none/Bite of the Shark
		set hotspot
		{
			version
			{
				Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX G Deimos Sword
			}
		}
	}
}

//==============================================================================
// only used for pilum throw animation
define shield
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Infantry X Trident Soldier Shield
				ReplaceTexture infantry x trident soldier shield iron/Infantry X Trident Soldier Shield Hero
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		ContainLogic
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_BoredA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_CarryBored
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect BackChest Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		ContainLogic
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_IdleA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_CarryIdle
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect BackChest Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		ContainLogic
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_Carry
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect BackChest Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
	}
}


//==============================================================================
anim Attack
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Infantry X Trident SoldierH_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag Attack 0.50 true   
            tag GenericSound 0.40 true   
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
			version
			{
				Visual Infantry X Trident SoldierH_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag Attack 0.45 true   
            tag GenericSound 0.40 true   
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
	}
}


//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry X Trident SoldierH_DeathA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				connect ATTACHPOINT soul hotspot
				connect ATTACHPOINT soulaurora hotspot
				connect ATTACHPOINT heavenlight hotspot
				connect ATTACHPOINT soulbirth hotspot
				Connect HOTSPOT heroglow hotspot
         }
      }
	}
}

//==============================================================================
anim Flail
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry X Trident SoldierH_FlailA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Birth
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry X Trident Soldier_birthA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Hero
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Infantry X Trident Soldier Shield Hero
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
				Connect ATTACHPOINT heavenlight hotspot
				Connect ATTACHPOINT soulborn hotspot
				connect ATTACHPOINT soulauroraborn hotspot
         }
      }
   }
}

//==============================================================================
anim Charging
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Archer G Peltast_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true	
				tag GenericSound 0.40 true	
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Peltast Standard/Infantry X Swordsman Hero
				ReplaceTexture Archer G Peltast Head Standard/Archer G Peltast Head Invisible
				ReplaceTexture Archer G Peltast Cape Standard/Infantry X Trident Soldier Cape Iron
				connect RightHand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
				Connect HOTSPOT heroglow hotspot
			}
		}
	}
}